﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Runda.EShop.Common.Utility;

namespace Runda.EShop.SaaS
{
    public class UserControlBase : System.Web.UI.UserControl
    {
        /// <summary>
        /// 返回包含本用户控件的页面对象
        /// </summary>
        public new BasePage Page
        {
            get
            {
                return base.Page as BasePage;
            }
        }

        /// <summary>
        /// 获取当前登录用户的信息
        /// </summary>
        public UserTokenData LoginUser
        {
            get { return Page.User.Identity.LoginUser; }
        }
    }
}